<!doctype html>
<html lang="ch">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>董胜烨作业列表</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        li {
            margin: 20px;
        }

        .homework {
            list-style: none;
            margin: 20px;
        }

        a {
            text-decoration: none;
            color: #0E7AE2;
        }

        a:hover {
            color: #0f0f0f;
        }

        .title {
            font-size: larger;
            font-weight: 600;
        }

        .content {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            margin: 10px;
        }

        .btns {
            margin: 20px;
        }
    </style>
</head>
<body>
<div class="content">
    <h1>董胜烨作业列表</h1>
    <ol>
        <li class="homework">
            <div class="title">第一次作业</div>
            <ul>
                <li><a href="ttps://apps.paas-edu.bktencent.com/stag--blue-whale-1/helloworld/">你好世界！</a></li>
            </ul>
        </li>
        <li class="homework">
            <div class="title">第二次作业</div>
            <ul>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework1">编写python代码统计输入的字符串中字母和数字的个数，并输出</a></li>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework1">编写Python代码判断用户输入的两个单词是否字母相同，且出现的次数也一样</a></li>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework1">一个机器人从原点（0，0）出发，可以进行上（UP）、下（DOWN）、左（LEFT）、右（RIGHT）移动，移动的方向和距离由用户输入，输入STOP表示停止输入。请编写Python代码计算机器人停止移动时与原点的距离(当距离不是整数时，使用最接近的整数)</a>
                </li>
            </ul>
        </li>
        <li class="homework">
            <div class="title">第三次作业</div>
            <ul>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework3_1">Python类的编写与继承</a></li>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework3_3">定义一个授权装饰器函数并测试其功能</a></li>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/homework3_3">定义一个带文件名参数的记录日志装饰器函数并测试其功能</a>
                </li>
            </ul>
        </li>
        <li class="homework">
            <div class="title">第四次作业</div>
            <ul>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/myapp/homework4">前端编程基础</a></li>
            </ul>
        </li>
         <li class="homework">
            <div class="title">第五次作业</div>
            <ul>
                <li><a href="https://apps.paas-edu.bktencent.com/stag--blue-whale-1/">django基础 一</a></li>
            </ul>
        </li>
    </ol>
    <div class="btns">
        <button onclick="goHome()">回到首页</button>
        <button onclick="goPage()">进入我的个人主页</button>
    </div>
</div>
<script>
    const goHome = () => {
        window.location.href = 'https://apps.paas-edu.bktencent.com/stag--blue-whale-1/'
    }
    const goPage = () => {
        window.location.href = 'https://www.dongshengye.space'
    }
</script>
</body>
</html>